package com.firefly.dao.dto.login;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Pattern;
import java.io.Serializable;

/**
 * @description: 发送验证码
 * @author: lzg(萤火科技 ： 854378082 @ qq.com)
 * @date: 2023/2/10
 **/
@Data
@EqualsAndHashCode
public class CodeSendDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @Pattern(regexp = "^1[3456789]\\d{9}$", message = "手机号格式不正确")
    private String phone;
}
